package com.langsin.bean;

public class User {
    private Integer userId;

    private String userName;

    private String roleCode;

    private String userPass;

    private String cname;

    private String isLogin;

    private String telphone;

    private String address;

    private String nation;

    private String email;

    private String userImg;

    private String gender;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass == null ? null : userPass.trim();
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public String getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(String isLogin) {
        this.isLogin = isLogin == null ? null : isLogin.trim();
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone == null ? null : telphone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg == null ? null : userImg.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", roleCode=" + roleCode + ", userPass=" + userPass
				+ ", cname=" + cname + ", isLogin=" + isLogin + ", telphone=" + telphone + ", address=" + address
				+ ", nation=" + nation + ", email=" + email + ", userImg=" + userImg + ", gender=" + gender + "]";
	}

	public User(Integer userId, String userName, String roleCode, String userPass, String cname, String isLogin,
			String telphone, String address, String nation, String email, String userImg, String gender) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.roleCode = roleCode;
		this.userPass = userPass;
		this.cname = cname;
		this.isLogin = isLogin;
		this.telphone = telphone;
		this.address = address;
		this.nation = nation;
		this.email = email;
		this.userImg = userImg;
		this.gender = gender;
	}
    
    public User() {
		// TODO Auto-generated constructor stub
	}
}